<p-sidebar [(visible)]="sidebarRightVisible"
  position="right"
  (onHide)="onSidebarHide()"
  #sidebarProps>
  <div class="card p-fluid" *ngIf="scenario">
    <h5>场景设置</h5>
    <div class="field">
      <label htmlFor="name1">Name</label>
      <input type="text"
        pInputText
        class="w-full p-inputtext-sm"
        placeholder="设置名称"
        [(ngModel)]="scenario.Name" />
    </div>
  </div>
</p-sidebar>